//
//  MoodFirstViewController.m
//  Today
//
<<<<<<< HEAD
//  Created by dllo on 15/5/22.
=======
//  Created by fanfan on 15/5/22.
>>>>>>> 5bc4b5c1e029a0f32652c9c99e3a7bd42b56cb17
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MoodFirstViewController.h"

@interface MoodFirstViewController ()

@end

@implementation MoodFirstViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"写日记";
<<<<<<< HEAD
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"收藏.jpg"] style:UIBarButtonItemStylePlain target:self action:@selector(selectorCollect)];
    
    self.view.backgroundColor = [UIColor colorWithRed:1.000 green:0.604 blue:0.199 alpha:1.000];
    // Do any additional setup after loading the view.
}
=======
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"iconfont-xingxing-3"] style:UIBarButtonItemStylePlain target:self action:@selector(selectorCollect)];
    
    self.view.backgroundColor = [UIColor colorWithRed:1.000 green:0.604 blue:0.199 alpha:1.000];
    
    // Do any additional setup after loading the view.
}

>>>>>>> 5bc4b5c1e029a0f32652c9c99e3a7bd42b56cb17
- (void)selectorCollect
{
    SIAlertView *alert = [[SIAlertView alloc]initWithTitle:@"友情提示" andMessage:@"收藏成功"];
    [alert addButtonWithTitle:@"查看" type:SIAlertViewButtonTypeDefault handler:^(SIAlertView *alertView) {
        
    }];
    
    [alert addButtonWithTitle:@"关闭" type:SIAlertViewButtonTypeCancel handler:^(SIAlertView *alertView) {
        
    }];
    [alert show];
}
<<<<<<< HEAD
=======

>>>>>>> 5bc4b5c1e029a0f32652c9c99e3a7bd42b56cb17
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
